#ifndef UFaceH
#define UFaceH
#include "UVector.h"

struct TFace {
protected:
	std::vector<int> GVertex; // geometrix vertices
	std::vector<int> NVertex; // normal vertices
	std::vector<int> TVertex; // texture vertices
	TVector NormalVector;
public:
	TFace();
	void AddGVector ( int NewVector );
	void AddNVector ( int NewVector );
	void AddTVector ( int NewVector );
	int GetGVector ( const int Index ) const;
	int GetNVector ( const int Index ) const;
	int GetTVector ( const int Index ) const;
	void SetNormal ( TVector newNormal );
	TVector GetNormal() const;
	int VectorLength();
	bool hasNormals;
	bool hasTVecs;
};
#endif
